fix(issue-162): refactor(test): extract shared generateInvite helper in SettingsScreen tests - #171
Open
luandro wants to merge 2 commits into
Open
fix(issue-162): refactor(test): extract shared generateInvite helper in SettingsScreen tests#171luandro wants to merge 2 commits into
luandro wants to merge 2 commits into
Conversation
luandro
marked this pull request as ready for review
July 30, 2026 02:57
Contributor
|
Preview deployment ready: https://agent-comapeo-cloud-app-issu-1jme.comapeo-cloud-app.pages.dev Commit: |
The preview smoke test failed with "Expected 400 ... got 404" because it probed /api/info once, ~8s after "Deployment complete". Cloudflare Pages Functions take a few seconds to propagate; until they are live, /api/* falls through to the static 404 handler. A live probe minutes later returns the correct 400. Replace the single-shot probe with a poll that retries until the function answers 400, while still asserting the final status is exactly 400 (no suppression). Applied to the identical preview/staging/prod blocks; bumped those smoke jobs to a 5m timeout to absorb the worst-case poll. Co-Authored-By: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
Implements #162 via autonomous Pool pipeline.
Verification
Closes #162